<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><script src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/nick.html" async=""></script><script src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/words.html" async=""></script><script src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/query.html" async=""></script>   
   

    <script src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/hm.html"></script><script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/tracking.html" charset="utf-8"></script>  

    <script type="text/javascript">
        var protocol = window.location.protocol;
        document.write('<script type="text/javascript" src="' + protocol + '//csdnimg.cn/pubfooter/js/repoAddr2.js?v=' + Math.random() + '"></' + 'script>');
    </script><script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/repoAddr2.html"></script>

  
 <meta http-equiv="Cache-Control" content="no-siteapp"><link rel="alternate" media="handheld" href="#">

    <title>Linux中的log介绍(二）--Syslogd - henni386的专栏
        - 博客频道 - CSDN.NET</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="description" content="进来看一下1.新建一个Dialog&nbsp; based的MFC工程MSG2.在资源管理器中打开对话框IDD_MSG_DIALOG，在其中放置一下控件：&nbsp; （1）ID号为ID_SENDMSG的发送消息按钮（原IDOK按钮）（2）ID号为IDCANCEL的取消按钮（3）ID号为IDC_STATIC的静态控件，CAPTION为“您发送消息的次数统计：”（4）ID号为IDC_ED">
    <script src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/jquery.js" type="text/javascript"></script>
      <script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/jquery-version.js"></script>
    <script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/ad.js"></script>
        <!--new top-->
       
        <link rel="stylesheet" href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/index.html">
        <!--new top-->
    
      <!-- ad begin -->
         <script language="javascript" type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/tracking_002.html"></script>
    <!-- ad end-->

    <link rel="Stylesheet" type="text/css" href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/style.css">
    <link id="RSSLink" title="RSS" type="application/rss+xml" rel="alternate" href="http://blog.csdn.net/henni386/rss/list">
    <link rel="shortcut icon" href="http://c.csdnimg.cn/public/favicon.ico">
    <link type="text/css" rel="stylesheet" href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/default.css">
 


<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?6bcd52f51e9b3dce32bec4a3997715ac";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>

<script src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/share.html"></script><link href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/job_reco.html" type="text/css" rel="stylesheet"><style type="text/css">.MathJax_Hover_Frame {border-radius: .25em; -webkit-border-radius: .25em; -moz-border-radius: .25em; -khtml-border-radius: .25em; box-shadow: 0px 0px 15px #83A; -webkit-box-shadow: 0px 0px 15px #83A; -moz-box-shadow: 0px 0px 15px #83A; -khtml-box-shadow: 0px 0px 15px #83A; border: 1px solid #A6D ! important; display: inline-block; position: absolute}
.MathJax_Hover_Arrow {position: absolute; width: 15px; height: 11px; cursor: pointer}
</style><style type="text/css">#MathJax_About {position: fixed; left: 50%; width: auto; text-align: center; border: 3px outset; padding: 1em 2em; background-color: #DDDDDD; color: black; cursor: default; font-family: message-box; font-size: 120%; font-style: normal; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px; -khtml-border-radius: 15px; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
.MathJax_Menu {position: absolute; background-color: white; color: black; width: auto; padding: 5px 0px; border: 1px solid #CCCCCC; margin: 0; cursor: default; font: menu; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; -khtml-border-radius: 5px; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
.MathJax_MenuItem {padding: 1px 2em; background: transparent}
.MathJax_MenuArrow {position: absolute; right: .5em; color: #666666}
.MathJax_MenuActive .MathJax_MenuArrow {color: white}
.MathJax_MenuArrow.RTL {left: .5em; right: auto}
.MathJax_MenuCheck {position: absolute; left: .7em}
.MathJax_MenuCheck.RTL {right: .7em; left: auto}
.MathJax_MenuRadioCheck {position: absolute; left: .7em}
.MathJax_MenuRadioCheck.RTL {right: .7em; left: auto}
.MathJax_MenuLabel {padding: 1px 2em 3px 1.33em; font-style: italic}
.MathJax_MenuRule {border-top: 1px solid #DDDDDD; margin: 4px 3px}
.MathJax_MenuDisabled {color: GrayText}
.MathJax_MenuActive {background-color: #606872; color: white}
.MathJax_Menu_Close {position: absolute; width: 31px; height: 31px; top: -15px; left: -15px}
</style><style type="text/css">#MathJax_Zoom {position: absolute; background-color: #F0F0F0; overflow: auto; display: block; z-index: 301; padding: .5em; border: 1px solid black; margin: 0; font-weight: normal; font-style: normal; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; box-shadow: 5px 5px 15px #AAAAAA; -webkit-box-shadow: 5px 5px 15px #AAAAAA; -moz-box-shadow: 5px 5px 15px #AAAAAA; -khtml-box-shadow: 5px 5px 15px #AAAAAA; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
#MathJax_ZoomOverlay {position: absolute; left: 0; top: 0; z-index: 300; display: inline-block; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
#MathJax_ZoomFrame {position: relative; display: inline-block; height: 0; width: 0}
#MathJax_ZoomEventTrap {position: absolute; left: 0; top: 0; z-index: 302; display: inline-block; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
</style><style type="text/css">.MathJax_Preview {color: #888}
#MathJax_Message {position: fixed; left: 1px; bottom: 2px; background-color: #E6E6E6; border: 1px solid #959595; margin: 0px; padding: 2px 8px; z-index: 102; color: black; font-size: 80%; width: auto; white-space: nowrap}
#MathJax_MSIE_Frame {position: absolute; top: 0; left: 0; width: 0px; z-index: 101; border: 0px; margin: 0px; padding: 0px}
.MathJax_Error {color: #CC0000; font-style: italic}
</style></head>
<body><div style="display: none;" id="MathJax_Message"></div>
    <!-- 广告位开始 -->
        <ins data-revive-zoneid="149" data-revive-id="8c38e720de1c90a6f6ff52f3f89c4d57"></ins>
    <!-- 广告位结束 -->

    
   
      <!--new top-->
    <script id="toolbar-tpl-scriptId" fixed="true" prod="blog" skin="black" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/html.html" type="text/javascript"></script>
     <!--new top-->
    <div id="container">
        <div id="header">
    <div class="header">
        <div id="blog_title">
            <h2>
                <a href="http://blog.csdn.net/henni386">henni386的专栏</a></h2>
            <h3></h3>
            <div class="clear">
            </div>
        </div>
        <div class="clear">
        </div>
        
     
    </div>
</div>
<div id="navigator">
    <div class="navigator_bg">
    </div>
    <div class="navigator">
        <ul>           
                <li id="btnContents"><a href="http://blog.csdn.net/henni386?viewmode=contents"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_mulu'])">
                    <img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/ico_list.gif">目录视图</span></a></li>
                <li id="btnView"><a href="http://blog.csdn.net/henni386?viewmode=list"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_zhaiyao'])">
                    <img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/ico_summary.gif">摘要视图</span></a></li>
                <li id="btnRss"><a href="http://blog.csdn.net/henni386/rss/list"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_RSS'])">
                    <img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/ico_rss.gif">订阅</span></a></li>                
            

            </ul>
    </div>
</div>
<script type="text/javascript">
    var username = "henni386";
    var _blogger = username;
    var blog_address = "http://blog.csdn.net/henni386";
    var static_host = "http://static.blog.csdn.net";
    var currentUserName = "";  
</script>

        <div id="body">
            <div id="main">
                <div class="main">
                        <div class="ad_class">
<div class="notice tracking-ad" data-mod="popu_3"> 

<a target="_blank" href="http://huiyi.csdn.net/activity/product/goods_list?project_id=3252">
<font color="blue">移动信息安全的漏洞和逆向原理
</font></a>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<a target="_blank" href="http://blog.csdn.net/turingbooks/article/details/53079366">
<font color="red">程序员11月书讯，评论得书啦 
</font></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<a target="_blank" href="http://geek.csdn.net/news/detail/110921">
<font color="blue">Get IT技能知识库，50个领域一键直达
</font></a>




</div>                        </div>
                        


<!-- 广告位开始 -->
<ins data-revive-zoneid="72" data-revive-id="8c38e720de1c90a6f6ff52f3f89c4d57"></ins>
<!-- 广告位结束 -->

  
<link href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/comment1.css" type="text/css" rel="stylesheet">
<link href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/style1.css" type="text/css" rel="stylesheet">
<script language="JavaScript" type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/jquery.html"></script>
<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/main.html"></script>
<link rel="stylesheet" href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/markdown_views.css">
<link rel="stylesheet" href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/category.css">
<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/MathJax.js"></script>
<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/web-storage-cache.js"></script>
<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/replace.js"></script>




  <script type="text/ecmascript">
      window.quickReplyflag = true;
           
            var isBole = false;
            
          
    </script>
<div id="article_details" class="details">
    <div class="article_title">   
         <span class="ico ico_type_Original"></span>


    <h1>
        <span class="link_title"><a href="http://blog.csdn.net/henni386/article/details/7442872">
        Linux中的log介绍(二）--Syslogd            
        </a></span>
    </h1>
</div>

   

        <div class="article_manage clearfix">
        <div class="article_l">
            <span class="link_categories">
            标签：
              <a href="http://www.csdn.net/tag/linux" target="_blank" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">linux</a><a href="http://www.csdn.net/tag/%e5%ad%98%e5%82%a8" target="_blank" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">存储</a><a href="http://www.csdn.net/tag/action" target="_blank" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">action</a><a href="http://www.csdn.net/tag/user" target="_blank" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">user</a>
            </span>
        </div>
        <div class="article_r">
            <span class="link_postdate">2012-04-09 21:50</span>
            <span class="link_view" title="阅读次数">1606人阅读</span>
            <span class="link_comments" title="评论次数"> <a href="#comments" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_pinglun'])">评论</a>(0)</span>
            <span class="link_collect tracking-ad" data-mod="popu_171"> <a target="_blank" href="javascript:void(0);" onclick="javascript:collectArticle('Linux中的log介绍(二）--Syslogd','7442872');return false;" title="收藏">收藏</a></span>
             <span class="link_report"> <a href="#report" onclick="javascript:report(7442872,2);return false;" title="举报">举报</a></span>

        </div>
    </div>
    <div class="embody" style="display:none" id="embody">
        <span class="embody_t">本文章已收录于：</span>
        <div class="embody_c" id="lib" value="{&quot;err&quot;:0,&quot;msg&quot;:&quot;ok&quot;,&quot;data&quot;:[]}"></div>
    </div>
    <style type="text/css">        
            .embody{
                padding:10px 10px 10px;
                margin:0 -20px;
                border-bottom:solid 1px #ededed;                
            }
            .embody_b{
                margin:0 ;
                padding:10px 0;
            }
            .embody .embody_t,.embody .embody_c{
                display: inline-block;
                margin-right:10px;
            }
            .embody_t{
                font-size: 12px;
                color:#999;
            }
            .embody_c{
                font-size: 12px;
            }
            .embody_c img,.embody_c em{
                display: inline-block;
                vertical-align: middle;               
            }
             .embody_c img{               
                width:30px;
                height:30px;
            }
            .embody_c em{
                margin: 0 20px 0 10px;
                color:#333;
                font-style: normal;
            }
    </style>
    <script type="text/javascript">
        $(function () {
            try
            {
                var lib = eval("("+$("#lib").attr("value")+")");
                var html = "";
                if (lib.err == 0) {
                    $.each(lib.data, function (i) {
                        var obj = lib.data[i];
                        //html += '<img src="' + obj.logo + '"/>' + obj.name + "&nbsp;&nbsp;";
                        html += ' <a href="' + obj.url + '" target="_blank">';
                        html += ' <img src="' + obj.logo + '">';
                        html += ' <em><b>' + obj.name + '</b></em>';
                        html += ' </a>';
                    });
                    if (html != "") {
                        setTimeout(function () {
                            $("#lib").html(html);                      
                            $("#embody").show();
                        }, 100);
                    }
                }      
            } catch (err)
            { }
            
        });
    </script>
      <div class="category clearfix">
        <div class="category_l">
           <img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/category_icon.jpg">
            <span>分类：</span>
        </div>
        <div class="category_r">
                    <label onclick="GetCategoryArticles('1119413','henni386','top','7442872');">
                        <span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_fenlei']);">Linux 系统架构<em>（4）</em></span>
                      <img class="arrow-down" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/arrow_triangle%2520_down.jpg" style="display:inline;">
                      <img class="arrow-up" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/arrow_triangle_up.jpg" style="display:none;">
                        <div class="subItem">
                            <div class="subItem_t"><a href="http://blog.csdn.net/henni386/article/category/1119413" target="_blank">作者同类文章</a><i class="J_close">X</i></div>
                            <ul class="subItem_l" id="top_1119413">                            
                            </ul>
                        </div>
                    </label>                    
        </div>
    </div>
    <script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/category.js"></script>  
        <div class="bog_copyright">         
            <p class="copyright_p">版权声明：本文为博主原创文章，未经博主允许不得转载。</p>
        </div>

  

  
  
     

<div id="article_content" class="article_content">

<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<br>
sysklogd RPM包中一般包含syslogd，klogd两个守护进程，它们分别用来完成对系统和内核日志信息的管理。</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;</p>
<h1>Syslogd</h1>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<strong>&nbsp;功能</strong></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
syslogd负责接收系统中的每个进程发送过来的日志消息，然后根据消息的Priority和/ect/syslogd.conf的配置,进行分类存储或者转发。</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<span style="font-weight:bold">&nbsp;</span></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<strong>日志存储格式</strong></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
syslogd记录的每条消息都按照下面的格式进行存储。</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<span style="font-weight:bold">时间：Host : Task_name: XXXXX</span></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<span style="font-weight:bold"><br>
</span></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<span style="font-weight:bold">日志的优先级</span></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<strong>syslog支持日志信息的优先级，它的优先级主要由两个因素构成：</strong></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<strong>(1)Facility，即日志的分类，主要有下面几种</strong></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_AUTH</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_AUTHPRIV</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_CRON</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_DAEMON</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_FTP</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_KERN</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_LOCAL0</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_LOCAL1</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_LOCAL2</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_LOCAL3</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_LOCAL4</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_LOCAL5</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_LOCAL6</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_LOCAL7</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_LPR</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_MAIL</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_NEWS&nbsp;</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_SYSLOG</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_USER(default)</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_UUCP</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<span style="font-weight:bold">&nbsp;</span></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<strong>(2)level: 消息的重要性</strong></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
LOG_EMERG&nbsp;</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;LOG_ALERT&nbsp;</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;LOG_CRIT&nbsp;&nbsp;</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;LOG_ERR&nbsp;&nbsp;&nbsp;</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;LOG_WARNING</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;LOG_NOTICE</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;LOG_INFO&nbsp;&nbsp;</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;LOG_DEBUG&nbsp;</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<span style="font-weight:bold">&nbsp;</span></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<strong>syslogd.conf 配置</strong></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
syslogd的配置信息一般存储在/etc/syslogd.conf文件中。</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
每个配置项包括两个域，selector和action。如下图所示：</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<img alt="" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/1333979269_1453.JPG"></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<strong>selector</strong></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
selector是facility和level在一起。</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
selector中可以使用*,!,-等通配符</p>
<table cellpadding="0" cellspacing="0" border="1">
<tbody>
<tr>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
Name</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
Facility</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
level</p>
</td>
</tr>
<tr>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
*</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
任何一个</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
任何一个</p>
</td>
</tr>
<tr>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
=</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
<span style="color:red">X</span></p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
只有该level才可log</p>
</td>
</tr>
<tr>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
!</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
<span style="color:red">X</span></p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
除了该level的log信息才能log</p>
</td>
</tr>
<tr>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
None</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
<span style="color:red">X</span></p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
不存储任何level的消息</p>
</td>
</tr>
</tbody>
</table>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<span style="font-weight:bold">&nbsp;</span></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
<strong>action</strong></p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
&nbsp;action主要是当log信息满足selector的需求时，该日志消息怎么处理，一般分为三种方式：</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
(1)存储到普通文件中</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
(2)写入到管道中</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px">
(3)远程转发到其它主机上</p>
<table cellpadding="0" cellspacing="0" border="1">
<tbody>
<tr>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
常规文件</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
管道文件</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
远程转发</p>
</td>
</tr>
<tr>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
普通的文件名：/xx/bb</p>
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
&nbsp;</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
|文件名</p>
</td>
<td style="font-size:12px; font-family:Arial,Helvetica,sans-serif">
<p style="padding-right:0px; padding-left:0px; padding-bottom:2px; margin:4px 0px; padding-top:2px" align="center">
@hostname</p>
</td>
</tr>
</tbody>
</table>
   
</div>




<!-- Baidu Button BEGIN -->




<div class="bdsharebuttonbox tracking-ad" style="float: right;" data-mod="popu_172">
<a target="_blank" href="#" class="bds_more" data-cmd="more" style="background-position:0 0 !important; background-image: url(http://bdimg.share.baidu.com/static/api/img/share/icons_0_16.png?v=d754dcc0.png) !important"></a>
<a target="_blank" href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间" style="background-position:0 -52px !important"></a>
<a target="_blank" href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博" style="background-position:0 -104px !important"></a>
<a target="_blank" href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博" style="background-position:0 -260px !important"></a>
<a target="_blank" href="#" class="bds_renren" data-cmd="renren" title="分享到人人网" style="background-position:0 -208px !important"></a>
<a target="_blank" href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信" style="background-position:0 -1612px !important"></a>
</div>
<script>window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "1", "bdMiniList": false, "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "share": {} }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>
<!-- Baidu Button END -->

   <link rel="stylesheet" href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/blog_detail.css">

    
<!--172.16.140.11-->

<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=1536434"></script>
<script src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/shell_v2.html" type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script>
<!-- Baidu Button END -->

 

        <div id="digg" articleid="7442872">
            <dl id="btnDigg" class="digg digg_disable" onclick="btndigga();">
               
                 <dt>顶</dt>
                <dd>0</dd>
            </dl>
           
              
            <dl id="btnBury" class="digg digg_disable" onclick="btnburya();">
              
                  <dt>踩</dt>
                <dd>0</dd>               
            </dl>
            
        </div>
     <div class="tracking-ad" data-mod="popu_222"><a target="_blank" href="javascript:void(0);">&nbsp;</a>   </div>
    <div class="tracking-ad" data-mod="popu_223"> <a target="_blank" href="javascript:void(0);">&nbsp;</a></div>
    <script type="text/javascript">
                function btndigga() {
                    $(".tracking-ad[data-mod='popu_222'] a").click();
                }
                function btnburya() {
                    $(".tracking-ad[data-mod='popu_223'] a").click();
                }
            </script>

   <ul class="article_next_prev">
                <li class="prev_article"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian']);location.href='/henni386/article/details/7439142';">上一篇</span><a href="http://blog.csdn.net/henni386/article/details/7439142" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian'])">Linux中的log介绍(一)---概述</a></li>
                <li class="next_article"><span onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian']);location.href='/henni386/article/details/7447259';">下一篇</span><a href="http://blog.csdn.net/henni386/article/details/7447259" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian'])">Linux中的log介绍(三)---内核日志</a></li>
    </ul>

    <div style="clear:both; height:10px;"></div>


        <div class="similar_article" style="">
                <h4>我的同类文章</h4>
                <div class="similar_c" style="margin:20px 0px 0px 0px">
                    <div class="similar_c_t">
                                <label class="similar_cur">
                                    <span style="cursor:pointer" onclick="GetCategoryArticles('1119413','henni386','foot','7442872');">Linux 系统架构<em>（4）</em></span>
                                </label>
                    </div>
                   
                    <div class="similar_wrap tracking-ad" data-mod="popu_141" style="max-height:195px;">
                        <a target="_blank" href="http://blog.csdn.net/" style="display:none">http://blog.csdn.net</a>
                        <ul class="similar_list fl"><li><em>•</em><a title="Linux 中的IPC(一)-----简介" href="http://blog.csdn.net/henni386/article/details/7455573" id="foot_aritcle_7455573undefined8060281289919254" target="_blank">Linux 中的IPC(一)-----简介</a><span>2012-04-12</span><label><i>阅读</i><b>605</b></label></li> <li><em>•</em><a title="Linux中的log介绍(三)---内核日志" href="http://blog.csdn.net/henni386/article/details/7447259" id="foot_aritcle_7447259undefined36495631164479503" target="_blank">Linux中的log介绍(三)---内核日志</a><span>2012-04-10</span><label><i>阅读</i><b>2511</b></label></li> </ul>

                        <ul class="similar_list fr"><li><em>•</em><a title="Linux中的log介绍(四）--klogd与syslogd的交互" href="http://blog.csdn.net/henni386/article/details/7451165" id="foot_aritcle_7451165undefined9810212342400744" target="_blank">Linux中的log介绍(四）--klogd与syslogd的交互</a><span>2012-04-11</span><label><i>阅读</i><b>4595</b></label></li> <li><em>•</em><a title="Linux中的log介绍(一)---概述" href="http://blog.csdn.net/henni386/article/details/7439142" id="foot_aritcle_7439142undefined05286454737990798" target="_blank">Linux中的log介绍(一)---概述</a><span>2012-04-08</span><label><i>阅读</i><b>1365</b></label></li> </ul>
                    </div>
                </div>
            </div>    
    <script type="text/javascript">
        $(function () {
            GetCategoryArticles('1119413', 'henni386','foot','7442872');
        });
    </script>
      
</div>
<div id="suggest">

</div>
         <script language="javascript" type="text/javascript">     
             $(function(){
                 $.get("/henni386/svc/GetSuggestContent/7442872",function(data){
                     $("#suggest").html(data);
                 });     
             });             
         </script>  


<style>
.blog-ass-articl dd {
color: #369;
width: 99%; /*修改行*/
float: left;
overflow: hidden;
font: normal normal 12px/23px "SimSun";
height: 23px;
margin: 0;
padding: 0 0 0 10px;
margin-right: 30px;
background: url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;
}
</style>

 <link rel="stylesheet" href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/replace.css">

<div id="relate" data-mod="popu_218" class="tracking-ad">
        <div class="relate_t">
            <h3><span>参考知识库</span></h3>
        </div>
        <div class="relate_c">
        </div>
</div>
 

<dl class="blog-ass-articl" id="res-relatived"> 
    <div class="embody embody_b" id="libkeyparent" style="display:none">
            <span class="embody_t">更多资料请参考：</span>
            <div class="embody_c" id="libkey"></div>
    </div>


     <dt><span>猜你在找</span></dt>    


   


    <div id="adCollege" style="width: 42%;float: left;"> 
        <script src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/job_reco.js" type="text/javascript"></script> 
        <script type="text/javascript">
            csdn.position.showEdu({
                sourceType: "blog",
                searchType: "detail",
                searchKey: "7442872",
                username: "",
                recordcount: "5",
                containerId: "adCollege" //容器DIV的id。 
            });
        </script> 
    </div>  

    
     <div id="res" data-mod="popu_36" class="tracking-ad" style="width: 42%; float: left; margin-right: 30px; display: none;"></div>
   
</dl>


<script type="text/javascript">
    $(function () {
        setTimeout(function () {
            var searchtitletags = 'Linux中的log介绍(二）--Syslogd' + ',' + $("#tags").html();
            searchService({
                index: 'blog',
                query: searchtitletags,
                from: 5,
                size: 5,
                appendTo: '#res',
                url: 'recommend',
                his: 2,
                client: "blog_cf_enhance",
                tmpl: '<dd style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px;"><a href="#{ url }" title="#{ title }" strategy="#{ strategy }">#{ title }</a></dd>'
            });
        }, 500);
    });    

 </script>  

    <div id="ad_cen">        
<!-- 广告位开始 -->
<ins data-revive-zoneid="71" data-revive-id="8c38e720de1c90a6f6ff52f3f89c4d57"></ins>
<!-- 广告位结束 -->    </div>  

<div class="comment_class">
    <div id="comment_title" class="panel_head">
        <span class="see_comment">查看评论</span><a name="comments"></a></div>
    <div id="comment_list"><br>&nbsp;&nbsp;暂无评论<br><br><div class="clear"></div></div>
    <div id="comment_bar">
    </div>
    <div id="comment_form"><div class="guest_link">您还没有登录,请<a href="javascript:void(0);" onclick="javascript:loginbox();">[登录]</a>或<a href="http://passport.csdn.net/account/register?from=http%3A%2F%2Fblog.csdn.net%2Fhenni386%2Farticle%2Fdetails%2F7442872">[注册]</a></div></div>
    <div class="announce">
        * 以上用户言论只代表其个人观点，不代表CSDN网站的观点或立场<a name="reply"></a><a name="quote"></a></div>
</div>

<script type="text/javascript">
    var fileName = '7442872';
    var commentscount = 0;
    var islock = false
</script>
<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/comment.js"></script>
    <div id="ad_bot">
    </div>
<div id="report_dialog">
</div>

<div id="d-top" style="bottom:60px;">
        <a id="quick-reply" class="btn btn-top q-reply" title="快速回复" style="display:none;">
            <img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/blog-icon-reply.png" alt="快速回复">
        </a>    

    <a id="d-top-a" class="btn btn-top backtop" style="display: none;" title="返回顶部" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_huidaodingbu'])">         
         <img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/top.png" alt="TOP">
    </a>
</div>
<script type="text/javascript">
    $(function ()
    {
        $("#ad_frm_0").height("90px");
        
        setTimeout(function(){
            $("#ad_frm_2").height("200px");
        },1000);    
    });
  
</script>
<style type="text/css">
    .tag_list
    {
        background: none repeat scroll 0 0 #FFFFFF;
        border: 1px solid #D7CBC1;
        color: #000000;
        font-size: 12px;
        line-height: 20px;
        list-style: none outside none;
        margin: 10px 2% 0 1%;
        padding: 1px;
    }
    .tag_list h5
    {
        background: none repeat scroll 0 0 #E0DBD3;
        color: #47381C;
        font-size: 12px;
        height: 24px;
        line-height: 24px;
        padding: 0 5px;
        margin: 0;
    }
    .tag_list h5 a
    {
        color: #47381C;
    }
    .classify
    {
        margin: 10px 0;
        padding: 4px 12px 8px;
    }
    .classify a
    {
        margin-right: 20px;
        white-space: nowrap;
    }
</style>


<div class="tag_list" style="">

    <h5>
        <a href="http://www.csdn.net/tag/" target="_blank">核心技术类目</a></h5>
    <div class="classify">
<a title="全部主题" href="http://www.csdn.net/tag" target="_blank" onclick="LogClickCount(this,336);">全部主题</a>
<a title="Hadoop" href="http://g.csdn.net/5272865" target="_blank" onclick="LogClickCount(this,336);">Hadoop</a>
<a title="AWS" href="http://g.csdn.net/5272866" target="_blank" onclick="LogClickCount(this,336);">AWS</a>
<a title="移动游戏" href="http://g.csdn.net/5272870" target="_blank" onclick="LogClickCount(this,336);">移动游戏</a>
<a title="Java" href="http://g.csdn.net/5272871" target="_blank" onclick="LogClickCount(this,336);">Java</a>
<a title="Android" href="http://g.csdn.net/5272872" target="_blank" onclick="LogClickCount(this,336);">Android</a>
<a title="iOS" href="http://g.csdn.net/5272873" target="_blank" onclick="LogClickCount(this,336);">iOS</a>
<a title="Swift" href="http://g.csdn.net/5272868" target="_blank" onclick="LogClickCount(this,336);">Swift</a>
<a title="智能硬件" href="http://g.csdn.net/5272869" target="_blank" onclick="LogClickCount(this,336);">智能硬件</a>
<a title="Docker" href="http://g.csdn.net/5272867" target="_blank" onclick="LogClickCount(this,336);">Docker</a>
<a title="OpenStack" href="http://g.csdn.net/5272925" target="_blank" onclick="LogClickCount(this,336);">OpenStack</a>
<a title="VPN" href="http://www.csdn.net/tag/vpn" target="_blank" onclick="LogClickCount(this,336);">VPN</a>
<a title="Spark" href="http://g.csdn.net/5272924" target="_blank" onclick="LogClickCount(this,336);">Spark</a>
<a title="ERP" href="http://www.csdn.net/tag/erp" target="_blank" onclick="LogClickCount(this,336);">ERP</a>
<a title="IE10" href="http://www.csdn.net/tag/ie10" target="_blank" onclick="LogClickCount(this,336);">IE10</a>
<a title="Eclipse" href="http://www.csdn.net/tag/eclipse" target="_blank" onclick="LogClickCount(this,336);">Eclipse</a>
<a title="CRM" href="http://www.csdn.net/tag/crm" target="_blank" onclick="LogClickCount(this,336);">CRM</a>
<a title="JavaScript" href="http://www.csdn.net/tag/javascript" target="_blank" onclick="LogClickCount(this,336);">JavaScript</a>
<a title="数据库" href="http://www.csdn.net/tag/%E6%95%B0%E6%8D%AE%E5%BA%93" target="_blank" onclick="LogClickCount(this,336);">数据库</a>
<a title="Ubuntu" href="http://www.csdn.net/tag/ubuntu" target="_blank" onclick="LogClickCount(this,336);">Ubuntu</a>
<a title="NFC" href="http://www.csdn.net/tag/nfc" target="_blank" onclick="LogClickCount(this,336);">NFC</a>
<a title="WAP" href="http://www.csdn.net/tag/wap" target="_blank" onclick="LogClickCount(this,336);">WAP</a>
<a title="jQuery" href="http://www.csdn.net/tag/jquery" target="_blank" onclick="LogClickCount(this,336);">jQuery</a>
<a title="BI" href="http://www.csdn.net/tag/bi" target="_blank" onclick="LogClickCount(this,336);">BI</a>
<a title="HTML5" href="http://www.csdn.net/tag/html5" target="_blank" onclick="LogClickCount(this,336);">HTML5</a>
<a title="Spring" href="http://www.csdn.net/tag/spring" target="_blank" onclick="LogClickCount(this,336);">Spring</a>
<a title="Apache" href="http://www.csdn.net/tag/apache" target="_blank" onclick="LogClickCount(this,336);">Apache</a>
<a title=".NET" href="http://www.csdn.net/tag/.net" target="_blank" onclick="LogClickCount(this,336);">.NET</a>
<a title="API" href="http://www.csdn.net/tag/api" target="_blank" onclick="LogClickCount(this,336);">API</a>
<a title="HTML" href="http://www.csdn.net/tag/html" target="_blank" onclick="LogClickCount(this,336);">HTML</a>
<a title="SDK" href="http://www.csdn.net/tag/sdk" target="_blank" onclick="LogClickCount(this,336);">SDK</a>
<a title="IIS" href="http://www.csdn.net/tag/iis" target="_blank" onclick="LogClickCount(this,336);">IIS</a>
<a title="Fedora" href="http://www.csdn.net/tag/fedora" target="_blank" onclick="LogClickCount(this,336);">Fedora</a>
<a title="XML" href="http://www.csdn.net/tag/xml" target="_blank" onclick="LogClickCount(this,336);">XML</a>
<a title="LBS" href="http://www.csdn.net/tag/lbs" target="_blank" onclick="LogClickCount(this,336);">LBS</a>
<a title="Unity" href="http://www.csdn.net/tag/unity" target="_blank" onclick="LogClickCount(this,336);">Unity</a>
<a title="Splashtop" href="http://www.csdn.net/tag/splashtop" target="_blank" onclick="LogClickCount(this,336);">Splashtop</a>
<a title="UML" href="http://www.csdn.net/tag/uml" target="_blank" onclick="LogClickCount(this,336);">UML</a>
<a title="components" href="http://www.csdn.net/tag/components" target="_blank" onclick="LogClickCount(this,336);">components</a>
<a title="Windows Mobile" href="http://www.csdn.net/tag/windowsmobile" target="_blank" onclick="LogClickCount(this,336);">Windows Mobile</a>
<a title="Rails" href="http://www.csdn.net/tag/rails" target="_blank" onclick="LogClickCount(this,336);">Rails</a>
<a title="QEMU" href="http://www.csdn.net/tag/qemu" target="_blank" onclick="LogClickCount(this,336);">QEMU</a>
<a title="KDE" href="http://www.csdn.net/tag/kde" target="_blank" onclick="LogClickCount(this,336);">KDE</a>
<a title="Cassandra" href="http://www.csdn.net/tag/cassandra" target="_blank" onclick="LogClickCount(this,336);">Cassandra</a>
<a title="CloudStack" href="http://www.csdn.net/tag/cloudstack" target="_blank" onclick="LogClickCount(this,336);">CloudStack</a>
<a title="FTC" href="http://www.csdn.net/tag/ftc" target="_blank" onclick="LogClickCount(this,336);">FTC</a>
<a title="coremail" href="http://www.csdn.net/tag/coremail" target="_blank" onclick="LogClickCount(this,336);">coremail</a>
<a title="OPhone " href="http://www.csdn.net/tag/ophone" target="_blank" onclick="LogClickCount(this,336);">OPhone </a>
<a title="CouchBase" href="http://www.csdn.net/tag/couchbase" target="_blank" onclick="LogClickCount(this,336);">CouchBase</a>
<a title="云计算" href="http://www.csdn.net/tag/%E4%BA%91%E8%AE%A1%E7%AE%97" target="_blank" onclick="LogClickCount(this,336);">云计算</a>
<a title="iOS6" href="http://www.csdn.net/tag/iOS6" target="_blank" onclick="LogClickCount(this,336);">iOS6</a>
<a title="Rackspace " href="http://www.csdn.net/tag/rackspace" target="_blank" onclick="LogClickCount(this,336);">Rackspace </a>
<a title="Web App" href="http://www.csdn.net/tag/webapp" target="_blank" onclick="LogClickCount(this,336);">Web App</a>
<a title="SpringSide" href="http://www.csdn.net/tag/springside" target="_blank" onclick="LogClickCount(this,336);">SpringSide</a>
<a title="Maemo" href="http://www.csdn.net/tag/maemo" target="_blank" onclick="LogClickCount(this,336);">Maemo</a>
<a title="Compuware" href="http://www.csdn.net/tag/compuware" target="_blank" onclick="LogClickCount(this,336);">Compuware</a>
<a title="大数据" href="http://www.csdn.net/tag/%E5%A4%A7%E6%95%B0%E6%8D%AE" target="_blank" onclick="LogClickCount(this,336);">大数据</a>
<a title="aptech" href="http://www.csdn.net/tag/aptech" target="_blank" onclick="LogClickCount(this,336);">aptech</a>
<a title="Perl" href="http://www.csdn.net/tag/perl" target="_blank" onclick="LogClickCount(this,336);">Perl</a>
<a title="Tornado" href="http://www.csdn.net/tag/tornado" target="_blank" onclick="LogClickCount(this,336);">Tornado</a>
<a title="Ruby" href="http://www.csdn.net/tag/ruby" target="_blank" onclick="LogClickCount(this,336);">Ruby</a>
<a title="Hibernate" href="http://www.csdn.net/hibernate" target="_blank" onclick="LogClickCount(this,336);">Hibernate</a>
<a title="ThinkPHP" href="http://www.csdn.net/tag/thinkphp" target="_blank" onclick="LogClickCount(this,336);">ThinkPHP</a>
<a title="HBase" href="http://www.csdn.net/tag/hbase" target="_blank" onclick="LogClickCount(this,336);">HBase</a>
<a title="Pure" href="http://www.csdn.net/tag/pure" target="_blank" onclick="LogClickCount(this,336);">Pure</a>
<a title="Solr" href="http://www.csdn.net/tag/solr" target="_blank" onclick="LogClickCount(this,336);">Solr</a>
<a title="Angular" href="http://www.csdn.net/tag/angular" target="_blank" onclick="LogClickCount(this,336);">Angular</a>
<a title="Cloud Foundry" href="http://www.csdn.net/tag/cloudfoundry" target="_blank" onclick="LogClickCount(this,336);">Cloud Foundry</a>
<a title="Redis" href="http://www.csdn.net/tag/redis" target="_blank" onclick="LogClickCount(this,336);">Redis</a>
<a title="Scala" href="http://www.csdn.net/tag/scala" target="_blank" onclick="LogClickCount(this,336);">Scala</a>
<a title="Django" href="http://www.csdn.net/tag/django" target="_blank" onclick="LogClickCount(this,336);">Django</a>
<a title="Bootstrap" href="http://www.csdn.net/tag/bootstrap" target="_blank" onclick="LogClickCount(this,336);">Bootstrap</a>
    </div>

</div>
  <script language="javascript" type="text/javascript">     
      $(function(){
              setTimeout(function(){
                  $.get("/henni386/svc/GetTagContent",function(data){
                      $(".tag_list").html(data).show();
                  });     
              });
          },500);                       
 </script> 


<div id="pop_win" style="display:none ;position: absolute; z-index: 10000; border: 1px solid rgb(220, 220, 220); top: 222.5px; left: 630px; opacity: 1; background: none 0px 0px repeat scroll rgb(255, 255, 255);">
    
</div>
<div id="popup_mask"></div>
<style>
    #popup_mask
    {
        position: absolute;
        width: 100%;
        height: 100%;
        background: #000;
        z-index: 9999;
        left: 0px;
        top: 0px;
        opacity: 0.3;
        filter: alpha(opacity=30);
        display: none;
    }

</style>




<script type="text/javascript">
    $(function(){
        setTimeout(function(){
            $(".comment_body:contains('回复')").each(function(index,item){
                var u=$(this).text().split('：')[0].toString().replace("回复","")
                var thisComment=$(this);
                if(u)
                {
                    $.getJSON("https://passport.csdn.net/get/nick?callback=?", {users: u}, function(a) {
                        if(a!=null&&a.data!=null&&a.data.length>0)
                        {
                            nick=a.data[0].n; 
                            if(u!=nick)
                            {
                                thisComment.text(thisComment.text().replace(u,nick));  
                            }
                        }       
                    });  
                }
            });         

        },200);  

        setTimeout(function(){
            $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
        },5000);

        setTimeout(function(){
            $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
        },10000);

        setTimeout(function(){
            $(".math").each(function(index,value){$(this).find("span").last().css("color","#fff"); })
        },15000);
        
        setTimeout(function(){
            $("a img[src='http://js.tongji.linezing.com/stats.gif']").parent().css({"position":"absolute","left":"50%"});
        },300);
    });

    function loginbox(){
        var $logpop=$("#pop_win");
        $logpop.html('<iframe src="https://passport.csdn.net/account/loginbox?service=http://static.blog.csdn.net/callback.htm" frameborder="0" height="600" width="400" scrolling="no"></iframe>');

        $('#popup_mask').css({
            opacity: 0.5,
            width: $( document ).width() + 'px',
            height:  $( document ).height() + 'px'
        });
        $('#popup_mask').css("display","block");
 
        $logpop.css( {
            top: ($( window ).height() - $logpop.height())/ 2  + $( window 
       ).scrollTop() + 'px',
            left:($( window ).width() - $logpop.width())/ 2
        } );
 
        setTimeout( function () {
            $logpop.show();
            $logpop.css( {
                opacity: 1
            } );
        }, 200 );
 
        $('#popup_mask').unbind("click");
        $('#popup_mask').bind("click", function(){
            $('#popup_mask').hide();
            var $clopop = $("#pop_win");
            $("#common_ask_div_sc").css("display","none");
            $clopop.css( {
                opacity: 0
            } );
            setTimeout( function () {
                $clopop.hide();
            }, 350 );
            return false;
        });
    }   

</script>
 <script language="javascript" type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/async_new.html"></script>      


                        <div class="clear">
                        </div>
                    </div>                   
                
            </div>
                   
           <div id="side">
               
    <div class="side">
<div id="panel_Profile" class="panel">
<ul class="panel_head"><span>个人资料</span></ul>
<ul class="panel_body profile">
<div id="blog_userface">
    <a href="http://my.csdn.net/henni386" target="_blank">
    <img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/1_henni386.html" title="访问我的空间" style="max-width:90%">
    </a>
    <br>
    <span><a href="http://my.csdn.net/henni386" class="user_name" target="_blank">henni386</a></span>
</div>
<div class="interact">

    <a href="javascript:void(0);" class="attent" id="span_add_follow" title="[加关注]"></a>

 <a href="javascript:void(0);" class="letter" title="[发私信]" onclick="window.open('http://msg.csdn.net/letters/model?receiver=henni386','_blank','height=350,width=700');_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_sixin'])"></a>  
</div>
<div id="blog_medal">
                <div id="bms_box">
               </div>
</div>
<ul id="blog_rank">
    <li>访问：<span>18207次</span></li>
    <li>积分：<span>288</span> </li>    
    <li>等级： <span style="position:relative;display:inline-block;z-index:1">
            <img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/blog2.html" alt="" style="vertical-align: middle;" id="leveImg">
            <div id="smallTittle" style=" position: absolute;  left: -24px;  top: 25px;  text-align: center;  width: 101px;  height: 32px;  background-color: #fff;  line-height: 32px;  border: 2px #DDDDDD solid;  box-shadow: 0px 2px 2px rgba (0,0,0,0.1);  display: none;   z-index: 999;">
            <div style="left: 42%;  top: -8px;  position: absolute;  width: 0;  height: 0;  border-left: 10px solid transparent;  border-right: 10px solid transparent;  border-bottom: 8px solid #EAEAEA;"></div>
            积分：288 </div>
        </span>  </li>
    <li>排名：<span>千里之外</span></li>
</ul>
<ul id="blog_statistics">
    <li>原创：<span>12篇</span></li>
    <li>转载：<span>0篇</span></li>
    <li>译文：<span>0篇</span></li>
    <li>评论：<span>2条</span></li>
</ul>
</ul>
</div>


<div class="panel" id="panel_Search">
    <ul class="panel_head"><span>文章搜索</span></ul>
    <ul class="panel_body">
        <form id="frmSearch" action="http://so.csdn.net/search" class="form_search" target="_blank">
        <span><input id="inputSearch" class="blogsearch" title="请输入关键字" type="text"></span>
        <input id="btnSubmit" value="搜索" title="search in blog" type="button">
        <input name="q" id="inputQ" type="hidden">
        <input name="t" value="blog" type="hidden">
        <a id="btnSearchBlog" target="_blank"></a>
        </form>
    </ul>
</div>

<script type="text/javascript">
    $(function () {
        $("#btnSubmit").click(function () {           
            search();
        });

        $("#frmSearch").submit(function () {
            search();
            return false;
        });

        function search()
        {
            var url = "http://so.csdn.net/so/search/s.do?q=" + encodeURIComponent($("#inputSearch").val()) + "&u=" + username + "&t=blog";
            window.location.href = url;
        }   
    });
</script><div id="panel_Category" class="panel">
<ul class="panel_head"><span>文章分类</span></ul>
<ul class="panel_body">    
                 <li>
                    <a href="http://blog.csdn.net/henni386/article/category/1115191" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Linux driver &amp; kernel</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/henni386/article/category/1115193" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Linux shell script</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/henni386/article/category/1115196" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Linux User space</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/henni386/article/category/1115197" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Vxworks</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/henni386/article/category/1115198" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">CPU</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/henni386/article/category/1115199" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">VB</a><span>(0)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/henni386/article/category/1119398" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">杂想</a><span>(1)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/henni386/article/category/1119413" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Linux 系统架构</a><span>(5)</span>
                </li>
                 <li>
                    <a href="http://blog.csdn.net/henni386/article/category/1132832" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">TCP/IP</a><span>(1)</span>
                </li>
</ul>
</div><div id="panel_Archive" class="panel">
<ul class="panel_head"><span>文章存档</span></ul>
<ul class="panel_body">
<div id="archive_list">
<!--归档统计-->
<li><a href="http://blog.csdn.net/henni386/article/month/2012/04">2012年04月</a><span>(12)</span></li>
</div>
</ul>
</div>
<div id="hotarticls" class="panel">
<ul class="panel_head">
    <span>       
阅读排行    </span>
</ul>

<ul class="panel_body itemlist">
<li>
<a href="http://blog.csdn.net/henni386/article/details/7451165" title="Linux中的log介绍(四）--klogd与syslogd的交互">Linux中的log介绍(四）--klogd与syslogd的交互</a><span>(4595)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7447259" title="Linux中的log介绍(三)---内核日志">Linux中的log介绍(三)---内核日志</a><span>(2512)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7442872" title="Linux中的log介绍(二）--Syslogd">Linux中的log介绍(二）--Syslogd</a><span>(1606)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7439142" title="Linux中的log介绍(一)---概述">Linux中的log介绍(一)---概述</a><span>(1366)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7467240" title="Linux 中的IPC(二)-----内核线程(Kthread)">Linux 中的IPC(二)-----内核线程(Kthread)</a><span>(1018)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7479339" title="Linux 中的IPC(五)----定时器(Timer)">Linux 中的IPC(五)----定时器(Timer)</a><span>(999)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7471158" title="Linux 中的IPC(三)----work和workqueue">Linux 中的IPC(三)----work和workqueue</a><span>(931)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7467199" title="Linux 内核基本概念（一）----PerCPU变量">Linux 内核基本概念（一）----PerCPU变量</a><span>(710)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7455573" title="Linux 中的IPC(一)-----简介">Linux 中的IPC(一)-----简介</a><span>(605)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7475107" title="Linux 中的IPC(四)----softirq">Linux 中的IPC(四)----softirq</a><span>(450)</span>
</li>
</ul>
</div>
<div id="hotarticls2" class="panel">
<ul class="panel_head"><span>评论排行</span></ul>
<ul class="panel_body itemlist">
<li>
<a href="http://blog.csdn.net/henni386/article/details/7451165" title="Linux中的log介绍(四）--klogd与syslogd的交互">Linux中的log介绍(四）--klogd与syslogd的交互</a><span>(2)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7494951" title="TCP学习---TCP头">TCP学习---TCP头</a><span>(0)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7475107" title="Linux 中的IPC(四)----softirq">Linux 中的IPC(四)----softirq</a><span>(0)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7471158" title="Linux 中的IPC(三)----work和workqueue">Linux 中的IPC(三)----work和workqueue</a><span>(0)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7467240" title="Linux 中的IPC(二)-----内核线程(Kthread)">Linux 中的IPC(二)-----内核线程(Kthread)</a><span>(0)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7467199" title="Linux 内核基本概念（一）----PerCPU变量">Linux 内核基本概念（一）----PerCPU变量</a><span>(0)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7455573" title="Linux 中的IPC(一)-----简介">Linux 中的IPC(一)-----简介</a><span>(0)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7447259" title="Linux中的log介绍(三)---内核日志">Linux中的log介绍(三)---内核日志</a><span>(0)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7442872" title="Linux中的log介绍(二）--Syslogd">Linux中的log介绍(二）--Syslogd</a><span>(0)</span>
</li>
<li>
<a href="http://blog.csdn.net/henni386/article/details/7439142" title="Linux中的log介绍(一)---概述">Linux中的log介绍(一)---概述</a><span>(0)</span>
</li>
</ul>
</div>
<div id="homepageArticles" class="panel tracking-ad" data-mod="popu_4">
<ul class="panel_head"><span>推荐文章</span></ul>
<ul class="panel_body" id="ad_commend">
<ul>
<li><a href="http://blog.csdn.net/turingbooks/article/details/52522830" target="_blank">* 程序员10月书讯，评论得书</a></li>
<li><a href="http://blog.csdn.net/jiangwei0910410003/article/details/52836241" target="_blank">* Android中Xposed框架篇---修改系统位置信息实现自身隐藏功能</a></li>
<li><a href="http://blog.csdn.net/luoshengyang/article/details/52773402" target="_blank">* Chromium插件（Plugin）模块（Module）加载过程分析</a></li>
<li><a href="http://blog.csdn.net/hejjunlin/article/details/52966319" target="_blank">* Android TV开发总结--构建一个TV app的直播节目实例</a></li>
<li><a href="http://blog.csdn.net/yinwenjie/article/details/52935140" target="_blank">* 架构设计：系统存储--MySQL简单主从方案及暴露的问题</a></li>


</ul></ul>
</div>


<div id="newcomments" class="panel">
<ul class="panel_head"><span>最新评论</span></ul>
<ul class="panel_body itemlist">
    <li>
   
         <a href="http://blog.csdn.net/henni386/article/details/7451165#comments">Linux中的log介绍(四）--klogd与syslogd的交互</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/fzs333" class="user_name">fzs333</a>:
。。。。。。。。。
    </p>
    </li>
    <li>
   
         <a href="http://blog.csdn.net/henni386/article/details/7451165#comments">Linux中的log介绍(四）--klogd与syslogd的交互</a>
    <p style="margin:0px;"><a href="http://blog.csdn.net/xiaoshengqdlg" class="user_name">xiaoshengqdlg</a>:
解释的非常清楚，转载了，谢谢分享
    </p>
    </li>
</ul>
</div>
    </div>
    <div class="clear">
    </div>


                   <!-- 广告位开始 --> 
                    <ins data-revive-zoneid="190" data-revive-id="8c38e720de1c90a6f6ff52f3f89c4d57"></ins> 
                    <!-- 广告位结束 -->

           </div>   

            <div class="clear">
            </div>
        </div>

        

<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/cnick.js"></script>
<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/newblog.js"></script>


<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/showblogmedal.js"></script>
<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/JavaScript1.js"></script><link rel="stylesheet" type="text/css" href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/pub_footer_2014.html"><div class="pub_fo"><div id="pub_footerall" class="pub_footer_new"><dl><dt></dt> <dd class="foot_sub_menu"><a href="http://www.csdn.net/company/about.html" target="_blank">公司简介</a><span>|</span><a href="http://www.csdn.net/company/recruit.html" target="_blank">招贤纳士</a><span>|</span><a href="http://www.csdn.net/company/marketing.html" target="_blank">广告服务</a><span>|</span><a href="http://www.csdn.net/company/account.html" target="_blank">银行汇款帐号</a><span>|</span><a href="http://www.csdn.net/company/contact.html" target="_blank">联系方式</a><span>|</span><a href="http://www.csdn.net/company/statement.html" target="_blank">版权声明</a><span>|</span><a href="http://www.csdn.net/company/layer.html" target="_blank">法律顾问</a><span>|</span><a href="mailto:webmaster@csdn.net">问题报告</a><span>|</span><a target="_blank" href="http://www.csdn.net/friendlink.html">合作伙伴</a><span>|</span><a href="http://bbs.csdn.net/forums/Service" target="_blank">论坛反馈</a></dd><dd class="foot_contact"><a href="javascript:void(0);" target="_blank" class="qq">网站客服</a><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=2251809102&amp;site=qq&amp;menu=yes" target="_blank" class="qq">杂志客服</a><a href="http://e.weibo.com/csdnsupport/profile" target="_blank" class="weibo">微博客服</a><a href="mailto:webmaster@csdn.net" class="email" title="联系邮箱">webmaster@csdn.net</a><span class="phone" title="服务热线">400-600-2320</span><span class="interval">|</span><span>北京创新乐知信息技术有限公司 版权所有</span><span class="interval">|</span><span>江苏乐知网络技术有限公司 提供商务支持</span></dd><dd class="foot_copyright"><span>京&nbsp;ICP&nbsp;证&nbsp;09002463&nbsp;号</span><span class="interval">|</span><span>Copyright © 1999-2016, CSDN.NET, All Rights Reserved&nbsp;</span><a href="http://www.hd315.gov.cn/beian/view.asp?bianhao=010202001032100010" target="_blank"><img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/gongshang_logos.gif" alt="GongshangLogo" title=""></a></dd></dl></div></div><script id="noticeScript" type="text/javascript" btnid="header_notice_num" wrapid="note1" count="5" subcount="5" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/notify.js"></script>

    <script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/login.html"></script>
<script type="text/javascript">document.write("<img src=http://counter.csdn.net/pv.aspx?id=24 border=0 width=0 height=0>");</script><img src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/pv.html" border="0" height="0" width="0">
<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/counter.js"></script><script type="text/javascript" charset="UTF-8" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/msg.js"></script>
<script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/ad-blog.html"></script>
<script type="text/javascript">
    $(function () {
        function __get_code_toolbar(snippet_id) {
            return $("<span class='tracking-ad' data-mod='popu_167'><a href='https://code.csdn.net/snippets/"
                    + snippet_id
                    + "' target='_blank' title='在CODE上查看代码片'  style='text-indent:0;'><img src='https://code.csdn.net/assets/CODE_ico.png' width=12 height=12 alt='在CODE上查看代码片' style='position:relative;top:1px;left:2px;'/></a></span>"
                    + "<span class='tracking-ad' data-mod='popu_170'><a href='https://code.csdn.net/snippets/"
                    + snippet_id
                    + "/fork' target='_blank' title='派生到我的代码片' style='text-indent:0;'><img src='https://code.csdn.net/assets/ico_fork.svg' width=12 height=12 alt='派生到我的代码片' style='position:relative;top:2px;left:2px;'/></a></span>");
        }
        
        $("[code_snippet_id]").each(function () {
            __s_id = $(this).attr("code_snippet_id");
            if (__s_id != null && __s_id != "" && __s_id != 0 && parseInt(__s_id) > 70020) {
                __code_tool = __get_code_toolbar(__s_id);
                $(this).prev().find(".tools").append(__code_tool);
            }
        });

        $(".bar").show();
    });
</script>





    </div><input id="aa_g_data_ids" type="hidden">
      <!--new top-->
    
    <script id="csdn-toolbar-id" btnid="header_notice_num" wrapid="note1" count="5" subcount="5" type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/toolbar.js"></script>
     <!--new top-->
   
    <link href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/ask_float_block.html" type="text/css" rel="stylesheet">
    <script language="JavaScript" type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/wmd.html"></script>
    <script language="JavaScript" type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/showdown.html"></script>
    <script language="JavaScript" type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/prettify.html"></script>
    <script language="JavaScript" type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/ask_float_block_002.html"></script>
   

  <div id="a52b5334d" style="width: 1px; height: 1px; display: none;">
                    <script src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/52b5334.html" id="adJs52b5334"></script>
                    <script>document.getElementById("adJs52b5334").src = "http://ads.csdn.net/js/opt/52b5334.js?t=" + Math.random();</script>
   </div>

    <link rel="stylesheet" href="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/blog_code.css">
    <script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/saveToCode.js"></script>
      <script type="text/javascript" src="Linux%E4%B8%AD%E7%9A%84log%E4%BB%8B%E7%BB%8D%28%E4%BA%8C%EF%BC%89--Syslogd%20-%20henni386%E7%9A%84%E4%B8%93%E6%A0%8F%20-%20%E5%8D%9A%E5%AE%A2%E9%A2%91%E9%81%93%20-%20CSDN.NET_files/main.js"></script>

   
 <div id="mask_code"></div><div class="gist_edit"><div class="save_snippets clearfix"><div class="tit"><h3>保存代码片</h3><span>整理和分享保存的代码片，请访问<a href="https://code.csdn.net/snippets_manage" target="_blank">代码笔记</a></span></div><div class="con_form"><ul class="gist_edit_list clearfix"><li><span class="red">*</span><span class="txt">标题</span><input id="form_title" class="form-input" placeholder="Linux中的log介绍(二）--Syslogd" type="text"></li><li><span class="red">*</span><span class="txt">描述</span><textarea id="form-textarea" class="form-textarea" placeholder="Linux中的log介绍(二）--Syslogd： http://blog.csdn.net/henni386/article/details/7442872"></textarea></li><li><span class="red">&nbsp;</span><span class="txt">标签</span><div id="divSearchTags"><span class="label blog_tag"><span>linux</span><a title="Removing tag" href="javascript:;">x</a></span><span class="label blog_tag"><span>存储</span><a title="Removing tag" href="javascript:;">x</a></span><span class="label blog_tag"><span>action</span><a title="Removing tag" href="javascript:;">x</a></span><span class="label blog_tag"><span>user</span><a title="Removing tag" href="javascript:;">x</a></span><input id="insertTag" class="insertTag" placeholder="请输入标签，按Enter生成(最多5项)" name="insertTag" maxlength="21" style="color: rgb(51, 51, 51);" type="text"><input id="OrganTag" class="OrganTag" name="OrganTag" value="linux,存储,action,user," type="hidden"><input id="OldOrganTag" class="OldOrganTag" name="OldOrganTag" value="" type="hidden"><input name="txtSearchTags" type="hidden"></div></li></ul></div><div class="bottom-bar"><a href="javascript:;" class="btn-submit btn-cancel">取消</a><span class="tracking-ad" data-mod="popu_250"><a target="_blank" class="btn-submit btn-confirm" href="javascript:;">确定</a></span></div></div></div></body></html>